﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using bdxyit.com.RecruitmentAppSys.IDAL;
using bdxyit.com.RecruitmentAppSys.DALFactory;
using bdxyit.com.RecruitmentAppSys.Models;
using bdxyit.com.RecruitmentAppSys.ViewModels;

namespace bdxyit.com.RecruitmentAppSys.BLL
{
    public class DegreeListBLL
    {
        private static readonly IDegreeListDAL DegreeListDal = DataAccess.CreateDegreeList();
        public static List<DegreeList> SelectDegreeList()
        {
            return DegreeListDal.SelectDegreeList();
        }
        public static DegreeList SelectDegreeListByDegreeID(string DegreeID)
        {
            return DegreeListDal.SelectDegreeListByDegreeID(DegreeID);
        }
        public static bool DeleteDegreeListByDegreeID(string DegreeID)
        {
            return DegreeListDal.DeleteDegreeList(DegreeID);
        }
        public static bool InsertDegreeList(DegreeList cmodel)
        {
            return DegreeListDal.InsertDegreeList(cmodel);
        }
        public static bool UpdateDegreeList(DegreeList cmodel)
        {
            return DegreeListDal.UpdateDegreeList(cmodel);
        }

    }
}
